package cate.game.admin.menu.cross;

import cate.game.GameBody;
import cate.game.admin.cross.CrossAdminCMDs;
import cate.game.admin.menu.MenuSetup;

public class CrossMenu extends MenuSetup {
    public CrossMenu(GameBody game) {
        super("跨服功能");
        reg(
                game,
                "跨服BOSS-重置所有BOSS",
                0,
                "",
                (role, params) -> {
                    String ret = callCrossGM(game, CrossAdminCMDs.CROSS_BOSS_RESET_ALL, role.getUid());
                    game.notice.message(role, ret);
                });
        reg(
                game,
                "跨服擂台赛-赛季重置",
                0,
                "",
                (role, params) -> {
                    String ret = callCrossGM(game, CrossAdminCMDs.ARENA_RESET_SEASON, role.getUid());
                    game.notice.message(role, ret);
                });
        reg(
                game,
                "跨服擂台赛-重算结算时间",
                0,
                "",
                (role, params) -> {
                    String ret = callCrossGM(game, CrossAdminCMDs.ARENA_CALC_RESET, role.getUid());
                    game.notice.message(role, ret);
                });
    }
}
